package com.cn.serverline.lineicp.produce.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author 王烁烁
 * @Date 2024/8/15
 */
@Data
public class UpdatePartNumberDto {
    @ApiModelProperty(value = "工步ID")
    @NotEmpty(message = "工步ID不能为空")
    private List<Long> stepId;

    @ApiModelProperty(value = "总装、部装下发id")
    @TableField("AUTOMATIC_SCHEDULE_ID")
    @NotNull(message = "总装、部装下发id不能为空")
    private Long automaticScheduleId;

    @ApiModelProperty(value = "件号")
    @TableField("PART_NUMBER")
    private String partNumber;

}
